package com.jwsoft.manager.core.dao.model;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 
 *
 * @author zhiyuan
 * @since 2023-12-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("edu_sjtj04")
@Schema(name = "EduSjtj04", title = "", description = "实体类")
public class EduSjtj04 extends Model<EduSjtj04> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Integer id;

    @Schema(name = "studentName", description = "学生姓名")
    @TableField(value = "student_name")
    private String studentName;

    @Schema(name = "studentIdcard", description = "学生身份证")
    @TableField(value = "student_idcard")
    private String studentIdcard;

    @Schema(name = "schoolId", description = "预测所属学校")
    @TableField(value = "school_id")
    private Integer schoolId;

    @Schema(name = "type", description = "报名类别")
    @TableField(value = "type")
    private String type;

    @Schema(name = "nation", description = "籍贯")
    @TableField(value = "nation")
    private String nation;

    @Schema(name = "householdId", description = "户籍id")
    @TableField(value = "household_id")
    private Integer householdId;

    @Schema(name = "householdRegister", description = "户籍地址")
    @TableField(value = "household_register")
    private String householdRegister;

    @Schema(name = "householdTime", description = "户籍迁入时间")
    @TableField(value = "household_time")
    private Date householdTime;

    @Schema(name = "houseId", description = "房产id")
    @TableField(value = "house_id")
    private Integer houseId;

    @Schema(name = "address", description = "房产地址")
    @TableField(value = "address")
    private String address;

    @Schema(name = "registerDate", description = "房产登记时间")
    @TableField(value = "register_date")
    private Date registerDate;

    @Schema(name = "cbTime", description = "社保参保时间")
    @TableField(value = "cb_time")
    private Date cbTime;

    @Schema(name = "cbYs", description = "社保参保月数")
    @TableField(value = "cb_ys")
    private String cbYs;
    @Override
    public Serializable pkVal() {
        return this.id;
    }
}
